package com.example.multiple.mapper.slave;



import com.example.multiple.annotation.DataSource;
import com.example.multiple.domain.slave.Logger;
import com.example.multiple.enums.DataSourceType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
@DataSource(DataSourceType.SLAVE)
public interface SlaveMapper {

    public List<Logger> select();

    public int insert(Logger logger);

}
